﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars;

namespace QuanLyHopDong
{
    public partial class MainFormRibbon : DevExpress.XtraBars.Ribbon.RibbonForm
    {
        public MainFormRibbon()
        {
            InitializeComponent();
        }

        private void CauHinh_ItemClick(object sender, ItemClickEventArgs e)
        {

        }

        private void Thoat_ItemClick(object sender, ItemClickEventArgs e)
        {
            Application.Exit();
        }

        private void BoPhan_ItemClick(object sender, ItemClickEventArgs e)
        {
            BoPhanListView f = new BoPhanListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void ChucVu_ItemClick(object sender, ItemClickEventArgs e)
        {
            ChucVuListView f = new ChucVuListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void TinhTrang_ItemClick(object sender, ItemClickEventArgs e)
        {
            TinhTrangListView f = new TinhTrangListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void LoaiNhanVien_ItemClick(object sender, ItemClickEventArgs e)
        {
            LoaiNhanVienListView f = new LoaiNhanVienListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void HocKy_ItemClick(object sender, ItemClickEventArgs e)
        {
            HocKyListView f = new HocKyListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void NamHoc_ItemClick(object sender, ItemClickEventArgs e)
        {
            NamHocListView f = new NamHocListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void HinhThucHopDong_ItemClick(object sender, ItemClickEventArgs e)
        {
            HinhThucHopDongListView f = new HinhThucHopDongListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void NgachLuong_ItemClick(object sender, ItemClickEventArgs e)
        {
            NgachLuongListView f = new NgachLuongListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void BacLuong_ItemClick(object sender, ItemClickEventArgs e)
        {
            BacLuongListView f = new BacLuongListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void NhanVien_ItemClick(object sender, ItemClickEventArgs e)
        {
            NhanVienListView f = new NhanVienListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void GiangVienThinhGiang_ItemClick(object sender, ItemClickEventArgs e)
        {
            GiangVienThinhGiangListView f = new GiangVienThinhGiangListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void QuanLyHopDong_ItemClick(object sender, ItemClickEventArgs e)
        {
            QuanLyHopDongListView f = new QuanLyHopDongListView();
            f.MdiParent = this;
            f.WindowState = FormWindowState.Maximized;
            f.Show();
        }

        private void QuanLyHopDongThinhGiang_ItemClick(object sender, ItemClickEventArgs e)
        {

        }

        private void TroGiup_ItemClick(object sender, ItemClickEventArgs e)
        {

        }
    }
}